var e = (0, require("../../@babel/runtime/helpers/interopRequireDefault").default)(require("../../kta/index")), t = require("../../utils/util"), n = getApp().eventBus;

e.default.Page({
    data: {
        showBtn: !1,
        query: {}
    },
    onShareAppMessage: function() {
        var e, n = this.data.query, o = n.encData, a = n.channel, i = void 0 === a ? "01-3535-9999-9999" : a, r = "".concat("https://txwk.10010.com", "/kcardorder/gotoUid?state=KCARD_INVITE_RECOMMEND_ORDERLAND&").concat((0, 
        t.objToStr)({
            encData: o,
            channel: i,
            ADTAG: i
        }));
        return e = {
            title: "【精选号码推荐】这个号码与我当前号码相似度高达91%，首月免费体验，机会只有一次，赶紧下手吧！",
            path: "pages/webview/index?url=" + encodeURIComponent(r)
        }, console.log(e), e;
    },
    onLoad: function(e) {
        this.setData({
            query: e
        }), n.emit("inviteRecommend_options", e);
    },
    onPageScroll: function(e) {
        var t = 0;
        n.on("inviteRecommend_getBtnTop", function(e) {
            t = e;
        });
        var o = e.scrollTop > t;
        this.setData({
            showBtn: o
        });
    }
});